package pref.junx.flybird.fragment.daily.Group;


import java.util.List;

import pref.junx.flybird.base.BaseModel;
import pref.junx.flybird.base.BasePresenter;
import pref.junx.flybird.base.Baseview;
import pref.junx.flybird.entity.Bean;
import pref.junx.flybird.entity.DailyBean;
import pref.junx.flybird.entity.Daily_result;
import pref.junx.flybird.entity.Group;
import pref.junx.flybird.entity.ResultBean;
import rx.Observable;

/**
 * Created by acer on 2017/8/4.
 */

public interface GroupContract {
    interface Modle extends BaseModel {
        Observable<Daily_result> doUpto(Bean<DailyBean> beanBean);

        Observable<ResultBean<List<Group>>> getGroup(int id);
    }

    interface View extends Baseview {
        void reportsuccess(String a, int b);

        void reportfail(String a);

        void itmeSelect(String i, String n);


        void setGroup(List<Group> data);
    }

    abstract class Presenter extends BasePresenter<Modle, View> {

        public abstract void getGroup(int id);
    }
}
